home *** CD-ROM | disk | FTP | other *** search
/ Robotics & Artificial Int…3 (Professional Edition) / Robotics & Artificial Intelligence Tools 2003 (Professional Edition).iso / neural network tool and application / nsinstall.exe / data1.cab / Macros_Files / ReplaceProbesWithDataEditor.nsm < prev    next >
Encoding:
Text File  |  2002-03-08  |  1.4 KB  |  35 lines

  1. activeBreadboard. deleteObject ( "activeInputProbe" )
  2. activeBreadboard. deleteObject ( "activeOutputProbe" )
  3. activeBreadboard. deleteObject ( "activeDesiredProbe" )
  4. activeBreadboard. deleteObject ( "activeCostProbe" )
  5.  
  6. activeBreadboard. stampOnAndMove ( "DataEditor" , "inputFile" )
  7. dataEditor. setName ( "activeInputProbe" )
  8. activeInputProbe. setEnableLabels ( TRUE )
  9. activeInputProbe. setFileForColumnHeadings ( "inputFile" )
  10. activeInputProbe. loadColumnHeadings (  )
  11.  
  12. activeBreadboard. stampOnAndMove ( "DataEditor" , "outputAxon" )
  13. dataEditor. setName ( "activeOutputProbe" )
  14. activeOutputProbe. setActiveAccessPoint ( "Activity" )
  15. activeOutputProbe. setEnableLabels ( TRUE )
  16. activeOutputProbe. setFileForColumnHeadings ( "desiredFile" )
  17. activeOutputProbe. loadColumnHeadings (  )
  18.  
  19. activeBreadboard. stampOnAndMove ( "DataEditor" , "desiredFile" )
  20. dataEditor. setName ( "activeDesiredProbe" )
  21. activeDesiredProbe. setEnableLabels ( TRUE )
  22. activeDesiredProbe. setFileForColumnHeadings ( "desiredFile" )
  23. activeDesiredProbe. loadColumnHeadings (  )
  24.  
  25. activeBreadboard. stampOnAndMove ( "DataEditor" , "criterion" )
  26. dataEditor. setName ( "activeCostProbe" )
  27. activeCostProbe. setActiveAccessPoint ( "Average Cost" )
  28. activeCostProbe. setEnableLabels ( TRUE )
  29. activeCostProbe. setLabel ( "Cost" )
  30.  
  31. activeInputProbe. tileWindow (1,4,6,6)
  32. activeOutputProbe. tileWindow (2,4,6,6)
  33. activeDesiredProbe. tileWindow (3,4,6,6)
  34. activeCostProbe. tileWindow (4,4,6,6)
  35.